package com.rzico.basics.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.Date;
import java.util.List;

/**
 *   订单附加信息
 * Created by macro on 2018/5/17.
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PromotionVo {

    @ApiModelProperty("活动id")
    protected String id;
    @ApiModelProperty("活动标题")
    protected String title;
    @ApiModelProperty("类型{1:消费后送,3.满减,4.满折,5.满赠,6.满包邮,7.买送,8.秒杀,9.第二件半价,10.新人价}")
    protected String type;
    @ApiModelProperty("价格")
    protected BigDecimal price;
    @ApiModelProperty("结束日期")
    protected Date endDate;
    @ApiModelProperty(value = "促销库存" )
    protected Integer stock;
    @ApiModelProperty(value = "只适用于首单生效" )
    protected Boolean firsted;

}
